-- GENERATED SPELL FOR [Burning Spirit] --


function spell0_9178(pUnit, Event) --@Burning Spirit,n/a--
pUnit:FullCastSpellOnTarget(13489,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9178', 597, 1)
end

function Sorts_9178(pUnit, Event)
local choix_sorts_9178 = math.random(0, 0)
if choix_sorts_9178 == 0 then
pUnit:RegisterEvent('spell0_9178', 1, 1)
end
end

function mob9178_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9178', math.random(1500, 3000), 1)
end

function mob9178_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9178_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9178_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9178, 1, 'mob9178_Action')
RegisterUnitEvent(9178, 2, 'mob9178_Leave')
RegisterUnitEvent(9178, 3, 'mob9178_Kill')
RegisterUnitEvent(9178, 4, 'mob9178_Die')
